interface objType {
    name:string,
    ams:number,
    class:string
}


let obj ={
    name:"脏三",
    age:20,
    class:"1235"
}


function thisFun (obj:objType) {
    console.log(obj);
    
}
console.log(obj);


